/**
 * COPYRIGHT. Harry Wu 2011. ALL RIGHTS RESERVED.
 * Project: just
 * Author: Harry Wu <harrywu304@gmail.com>
 * Created On: Jun 12, 2011 4:48:10 PM
 *
*/ 
package org.justframework.server;

import org.justframework.core.Request;
import org.justframework.core.Response;

/**
 * @author whx
 *
 */
public class DemoResource {

	/* (non-Javadoc)
	 * @see org.justframework.core.ResourceService#get(org.justframework.core.Request)
	 */
	public Response get(Request request) {
		Response response = new Response();
		response.setContent("get");
		return response;
	}

	/* (non-Javadoc)
	 * @see org.justframework.core.ResourceService#delete(org.justframework.core.Request)
	 */
	public Response delete(Request request) {
		Response response = new Response();
		response.setContent("delete");
		return response;
	}

	/* (non-Javadoc)
	 * @see org.justframework.core.ResourceService#post(org.justframework.core.Request)
	 */
	public Response post(Request request) {
		Response response = new Response();
		response.setContent("post");
		return response;
	}

	/* (non-Javadoc)
	 * @see org.justframework.core.ResourceService#put(org.justframework.core.Request)
	 */
	public Response put(Request request) {
		Response response = new Response();
		response.setContent("put");
		return response;
	}

}
